public class For02 {

    public static void main(String[] args) {
        // 求奇数和 1-100 1 ,3, 5, 7
        int sum = 0;
        for (int i = 1; i <= 99; i ++ ) {
            if (i % 2 != 0) {
                sum += i;
            }
        }
        System.out.println(sum);
    }
}
